package service.impl;

import POJO.Reply_detail;
import mapper.Reply_detailMapper;
import org.springframework.stereotype.Service;
import service.Reply_detailService;

import javax.annotation.Resource;
import java.util.List;

/**
 * Created by 任 on 2019/2/20.
 */
@Service("reply_detailService")
public class Reply_detailServiceImpl implements Reply_detailService {
    @Resource
    private Reply_detailMapper reply_detailMapper;
    @Override
    public int addreplyDetail(Reply_detail replyDetail) {
        return reply_detailMapper.addreplyDetail(replyDetail);
    }

    @Override
    public int updinvid(int invid) {
        return reply_detailMapper.updinvid(invid);
    }

    @Override
    public List<Reply_detail> selAllOrByInvid(int invid, int currPageNo, int pageSize) {
        return reply_detailMapper.selAllOrByInvid(invid,currPageNo,pageSize);
    }

    @Override
    public int invidList(int invid) {
        return reply_detailMapper.invidList(invid);
    }
}
